#pragma once
#include <windows.h>

class CFrame
{
	int m_fFrameLength;

	RECT m_rRenderRect;
	RECT m_rAttackRect;
	RECT m_rCollisionRect;

	int m_nAnchorPointX;
	int m_nAnchorPointY;

	int m_nWeaponPointX;
	int m_nWeaponPointY;

	int m_nFrameCount;

public:
	CFrame() { }
	~CFrame() { }

	int GetFrameLength( void ) { return m_fFrameLength; }
	RECT GetRenderRect( void ) { return m_rRenderRect; }
	RECT GetAttackRect( void ) { return m_rAttackRect; }
	RECT GetCollisionRect( void ) { return m_rCollisionRect; }
	int GetAnchorPointX( void ) { return m_nAnchorPointX; }
	int GetAnchorPointY( void ) { return m_nAnchorPointY; }
	int GetWeaponPointX( void ) { return m_nAnchorPointX; }
	int GetWeaponPointY( void ) { return m_nAnchorPointY; }


	void SetFrameLength( int FrameLen ) {  m_fFrameLength = FrameLen; }
	void SetRenderRect( RECT RenderRect ) {  m_rRenderRect = RenderRect; }
	void SetAttackRect( RECT AttackRect ) {  m_rAttackRect = AttackRect; }
	void SetCollisionRect( RECT CollisionRect ) {  m_rCollisionRect = CollisionRect; }
	void SetAnchorPointX( int AnchorPointX ) {  m_nAnchorPointX = AnchorPointX; }
	void SetAnchorPointY( int AnchorPointY ) {  m_nAnchorPointY = AnchorPointY; }
	void SetWeaponPointX( int WeaponPointX ) {  m_nAnchorPointX = WeaponPointX; }
	void SetWeaponPointY( int WeaponPointY ) {  m_nAnchorPointY = WeaponPointY; }
	void SetFrameCount( int FrameCount ) { m_nFrameCount = FrameCount; }


	//void Init();
	//void Shutdown();
	//void Render();
};